<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>首页</title>
    <link rel="stylesheet" href="../css/reset.css" />
    <style>
      html {
        width: 100%;
        height: 100%;
      }

      body {
        font: 14px '微软雅黑';
        background: url(../img/bg.jpg) center/cover no-repeat;
      }

      header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 0 30px;
      }

      header a img {
        width: 70px;
      }

      header ul {
        display: flex;
      }

      header ul li a {
        color: #fff;
        border: 1px solid #fff;
        border-radius: 10px;
        padding: 10px;
        margin-left: 10px;
      }

      article {
        display: flex;
        height: calc(100vh - 80px);
        justify-content: center;
        align-items: center;
        color: #fff;
      }

      article section {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        width: 180px;
        height: 200px;
        margin-left: 20px;
        transition: transform 0.2s linear;
      }

      article section:hover {
        transform: translateY(-3px);
        box-shadow: 0 3px 3px #2b2b2b;
      }

      article section:nth-child(1) {
        background-color: #565ca8;
      }
      article section:nth-child(2) {
        background-color: #fd9b2e;
      }
      article section:nth-child(3) {
        background-color: #00a4dc;
      }
      article section:nth-child(4) {
        background-color: #1bc026;
      }
      article section:nth-child(5) {
        background-color: #005c8f;
      }
    </style>
  </head>
  <body>
    <header>
      <a href="#">
        <img src="../img/logo.png" alt="" />
      </a>
      <ul>
        <li><a href="#">苏州校区</a></li>
        <li><a href="#">无锡校区</a></li>
        <li><a href="#">上海校区</a></li>
        <li><a href="#">杭州校区</a></li>
      </ul>
    </header>
    <article>
      <section><img src="../img/item1.png" alt="" /><span>我的邮箱</span></section>
      <section><img src="../img/item2.png" alt="" /><span>云服务</span></section>
      <section><img src="../img/item3.png" alt="" /><span>手机课堂</span></section>
      <section><img src="../img/item4.png" alt="" /><span>微信服务</span></section>
      <section><img src="../img/item5.png" alt="" /><span>在线客服</span></section>
    </article>
  </body>
</html>
